export interface ClientOptions {
  sdkAppId: number;
  userId: string;
  roomId: number;
  secretKey?: string;
  userSig?: string;
}
export type DeviceItem = Record<string, any>;

export enum Role {
  Lecturer = 'lecturer',
  Enterprise = 'enterprise',
  Technician = 'technician',
}
export interface ResidencyMember {
  name: string;
  department: string;
  major: string;
  phone: string;
  qq: string;
  job: string;
}

export interface ResidencyTeacher  {
  name: string;
  phone: string;
  job: string;
  email: string;
}

// 定义教师信息类型
export interface ResidencyTeacher {
  name: string;
  phone: string;
  job: string;
  email: string;
}

export interface ResidencyApplicationStudent {
  name: string;
  applyDate: string;
  itemName: string;
  numbers: number;
  contactName: string;
  contactPhone: string;
  registerDate: string;
  organizationCode: string;
  industry: string;
  otherIndustry: string;
  registerMoney: number;
  shareholdingRatio: string;
  isQualified: boolean;
  businessScope: string;
  members: ResidencyMember[];
  hasPhysicalSpace: boolean;
  seatNumber: string;
  paymentTypes: string[];
  paymentAmount: number;
  projectIntroduction: string;
  helpDescription: string;
  teacherOpinion: string;
  collegeOpinion: string;
  officeOpinion: string;
  leaderOpinion: string;
  certificate?: any;
  projectfile?: any;
  paymentReceipt?: any;
}
// 定义成员信息类型
export interface EnterpriseMember {
  name: string;
  birthDate: string;
  job: string;
  school: string;
  title: string;
  education: string;
  major: string;
}

// 定义股东信息类型
export interface Shareholder {
  name: string;
  ratio: string;
  nature: string;
}

// 定义基础申请表单类型
interface BaseResidencyApplication {
  name: string;
  applyDate: string;
  itemName: string;
  numbers: number;
  contactName: string;
  contactPhone: string;
  contactEmail: string;
  agentName: string;
  agentPhone: string;
  agentEmail: string;
  registerMoney: number;
  raisedMoney: number;
  initialEmployees: number;
  expectedRegisterDate: string;
  region: string;
  shareholdingRatio: string;
  isQualified: boolean;
  businessScope: string;
  members: EnterpriseMember[];
  shareholders: Shareholder[];
  projectIntroduction: string;
  competitiveAdvantage: string;
  marketProspects: string;
  energyConsumption: string;
  pollution: string;
  noise: string;
  otherConditions: string;
  teacherOpinion: string;
  collegeOpinion: string;
  officeOpinion: string;
  leaderOpinion: string;
  industry: string;
  otherIndustry: string;
  mainBusiness: string;
  businessType: string[];
  otherBusinessType: string;
  rentalArea: string;
  locationRequirement: string;
  rentalPeriod: string;
  floorRequirement: string;
  powerRequirement: string;
  waterRequirement: string;
  networkRequirement: string;
  otherRequirement: string;
  remarks: string;
}

// 定义企业申请表单类型
export interface ResidencyApplication extends BaseResidencyApplication {}


